package com.weiyu.bultrasound.core.model.entity;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;

@Builder
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Files implements Serializable {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value="主键id")
    private Long id;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value="申请单id")
    private Long applicationsId;

    @ApiModelProperty(value="文件名")
    private String name;

    @ApiModelProperty(value="七牛云文件地址")
    private String path;

    @ApiModelProperty(value="文件大小")
    private Integer size;

    @ApiModelProperty(value="文件类型代码 1、MP4 2、jpg 3、pdf")
    private String typeCode;

    @ApiModelProperty(value="ftp文件地址")
    private String ftpPath;

}